package com.ruoyi.common.crawler;


import lombok.Data;
import org.apache.commons.compress.utils.Lists;

import java.util.List;

@Data
public class Word {

    private List<WordItem> wordItems = Lists.newArrayList();


    private String          word;//单词
    //mp3
    private String          usTouch;//美式发音
    private String          ukTouch;//英式发音
    //音标
    private String         phonetic;//音标
    private String         usPhonetic;//美式音标
    private String         ukPhonetic;//英式音标
    @Deprecated
    private List<SubGroup> subGroups;
    private List<MeaningItem> meaningItems = Lists.newArrayList();



    @Data
    public static class MeaningItem {
        private String meaning;
        private List<String> pictures;
        private WordTypeEnum wordType;
        private List<String> examples;
        private List<String> chineseTranslations;

    }
}
